<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>${title} --- 管理主页</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<link rel="stylesheet" type="text/css" href="skins/css/pss.css" />
		<link rel="stylesheet" type="text/css" href="skins/css/icons.css" />
		<link rel="stylesheet" type="text/css"
			href="skins/css/UploadDialog.css" />
		<!--加载ext框架样式-->
		<link href="skins/javascript/extjs/resources/css/ext-all.css"
			rel="stylesheet" type="text/css" />
		<style type="text/css">
body {
	margin: 0;
	padding: 0;
	font-family: "宋体";
	font-size: 12px;
}

/*页面加载对话框样式*/
#loadingTab {
	position: absolute;
	left: 38%;
	top: 40%;
	padding: 2px;
	z-index: 20001;
	height: auto;
	border: 1px solid #CCCCFF;
	width: 300px;
}

#loadingTab .loading-indicator {
	background: white;
	color: #444;
	font: bold 15px tahoma, arial, helvetica;
	padding: 10px;
	margin: 0;
	height: auto;
}

#loading-msg {
	font: "宋体", normal;
	font-size: 12px
}

/*主页面上端样式*/
#north {
	border: 0 none;
	padding-top: 3px;
	padding-left: 3px;
}

#north .api-title {
	color: #333333;
	margin: 5px;
	font-weight: bold;
	font-variant: normal;
	font-size: 16px;
}

/*主页面下端样式*/
#south {
	border: none;
}

#south .bq {
	float: right;
	margin: 5px;
}

#south .bq a {
	color: #0000FF;
	text-decoration: none
}

#south .bq a:hover {
	color: #999900;
	text-decoration: underline;
}
</style>
	</head>
	<body>
		<!--loading加载 -->
		<div id="loadingTab">
			<div class="loading-indicator">
				<img alt="" src="skins/images/loader.gif" width="32" height="32"
					style="margin-right: 8px; float: left; vertical-align: middle;" />
				<span style="margin-left: 5px; vertical-align: middle;"
					id="loading-msg">请稍后,正在加载样式表和图片...</span>
			</div>
		</div>
		<div id="north" style="visibility: hidden;">
			<span class="api-title">教学支持系统</span>
		</div>
		<div id="south">
			<div class="bq" id="banquan" style="visibility: hidden;">
				版权所有：
				<a href="#" target="_blank"> - 黄珍辉作</a>
			</div>
		</div>
		<!--加载ext核心文件-->

		<script type="text/javascript"
			src="skins/javascript/extjs/adapter/ext/ext-base.js">
</script>

		<script type="text/javascript" src="skins/javascript/extjs/ext-all.js">
</script>

		<script type="text/javascript">
document.getElementById("loading-msg").innerHTML = "正在加载Ext组建...";
</script>
		<script type="text/javascript" src="skins/javascript/localActiveX.js">
</script>

		<script type="text/javascript"
			src="skins/javascript/Ext.ux/Ext.ux.panel.Portal.js">
</script>

		<script type="text/javascript"
			src="skins/javascript/Ext.ux/Ext.ux.tree.TreeCheckNodeUI.js">
</script>

		<script type="text/javascript"
			src="skins/javascript/Ext.ux/Ext.ux.extMain.js" charset="GBK">
</script>

		<script type="text/javascript" language="javascript"
			src="skins/extjs/swfupload.js">
</script>

		<script type="text/javascript" language="javascript"
			src="skins/extjs/UploadDialog.js" charset="GBK">
</script>
		<script type="text/javascript">
document.getElementById("loading-msg").innerHTML = "初始化完毕！！";
Ext.get("loadingTab").fadeOut( {
	remove : true
});//让加载标签消失	
document.getElementById("north").style.visibility = "visible";
document.getElementById("banquan").style.visibility = "visible";
</script>
	</body>
</html>
